/*  ___ _  ____  __ _  _    ___       _ _          
 * | _ \ |/ /  \/  | \| |  / _ \ _ _ | (_)_ _  ___ 
 * |  _/ ' <| |\/| | .` | | (_) | ' \| | | ' \/ -_)
 * |_| |_|\_\_|  |_|_|\_|  \___/|_||_|_|_|_||_\___|
 */
#ifndef __PKMNONLINE_TILE_H__
#define __PKMNONLINE_TILE_H__

enum eTileFlags {
	TF_BLOCKED		= (1 << 0),
	TF_DIRBLOCKED	= (1 << 1),
	TF_RESERVED1	= (1 << 2),
	TF_RESERVED2	= (1 << 3),
	TF_BLOCK_UP		= (1 << 4),
	TF_BLOCK_RIGHT	= (1 << 5),
	TF_BLOCK_DOWN	= (1 << 6),
	TF_BLOCK_LEFT	= (1 << 7)
};

struct TILE {
	unsigned char x;
	unsigned char y;
	unsigned char blocked;
};

struct TILEINFO {
	unsigned char flags;
	unsigned char type;
};

#endif /* __PKMNONLINE_TILE_H__ */
